package com.thor.palmmall.api.pay.unionmch;

import java.util.Map;

import com.thor.commons.exception.ThorServiceException;
import com.thor.palmmall.rest.user.AChannelContents;

/**
 * 
 * @author liyang
 * 
 * @since 1.0
 *
 */
public interface MutiChannelUnionMchService {

  /**
   * 获取银联商务受理订单号
   * 
   * @param params
   *          参数列表
   * @return
   * @throws Exception
   */
  public String getUnionMchPayTradeNo(Map<String, String> params, AChannelContents channel)
      throws ThorServiceException;

  /**
   * 支付成功回调接口
   * 
   * @param request
   * @return
   */
  public boolean callBack(String request);
}
